package cn.qingyun.gis.modules.takeaway.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

;

/**
 * @Description: 外卖勘误-附件表实体对象
 * @Version: V1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("takeaway_attachment")
@ApiModel(value = "TakeawayAttachment对象", description = "TakeawayAttachment对象")
public class TakeawayAttachment implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @Excel(name = "主键", width = 15)
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * express_proofread表主键id
     */
    @ApiModelProperty(value = "takeaway_proofread表主键id")
    @Excel(name = "takeaway_proofread表主键id", width = 15)
    private String takeawayProofreadId;

    /**
     * 图片base64地址
     */
    @ApiModelProperty(value = "图片base64地址")
    @Excel(name = "图片base64地址", width = 15)
    private String content;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @Excel(name = "修改时间", width = 15)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间", width = 15)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
